package com.jbinfo.qingcaowan.studyManager.dao;

import java.io.Serializable;
import java.util.List;

import com.jbinfo.qingcaowan.common.dao.CommonDAO;
import com.jbinfo.qingcaowan.studyManager.dto.BookChapterModel;
import com.jbinfo.qingcaowan.studyManager.entity.BookChapter;
/**
 * 
* @ClassName: StudyManagerDao 
* @Description: TODO
* @author ZhangLei
* @date 2016年5月24日 下午4:03:23
 */
public interface BookChapterManagerDao extends CommonDAO<BookChapter, Serializable> {
    /**章节管理**/
	//查询
	public List<BookChapter> getChapterList(BookChapterModel bookChapterModel);
    //保存
	public void save(BookChapter bookChapter);
	//详情
	public BookChapter getBookChapterInfo(BookChapter bookChapter);
	//编辑
	public int editBookChapter(BookChapter bookChapter);
	//删除
	public int delBookChapter(String chapterId);
	//根据bookId获取章节
	public List<BookChapter> queryChapterList(BookChapter bookChapter);
	//根据编码获取章节
	public List<BookChapter> getChapterByCode(BookChapter bookChapter);
	
}
